package raccoon.plugin.mybatis.type;

import raccoon.common.ListWrapper;

import java.util.*;

/**
 * Created by Administrator on 2016/6/30.
 */
public class BatchLists {

    public static <T> BatchList<T> wrap(List<T> list){

        return new DefaultBatchList<T>(list);
    }

    private static class DefaultBatchList<E> extends ListWrapper implements BatchList<E>{

        public DefaultBatchList(List<E> list) {
            super(list);
        }
    }
}

